package com.adaptiveAgingAdmin.controller;

import com.adaptiveAgingAdmin.code.Result;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin(origins = "*")
@RequestMapping( "/test")
public class TestController {
    @RequestMapping("/hello")
    public Result test(){
        return Result.OK(null,"hello");
    }
}
